package com.ecoolex.union.pay.retailer.core.util.globepay;


public class GlobePayRefundResult {

	/**
	 * 执行结果
	 */
	private String return_code;
	
	/**
	 * WAITING:正在提交
	 * CREATE_FAILED:提交失败
	 * SUCCESS:提交成功
	 * FAILED:退款失败
	 * FINISHED:退款成功
	 * CHANGE:退款无法到账，需要人工介入
	 */
	private String result_code;
	
	/**
	 * GlobePay退款单号
	 */
	private String refund_id;
	
	/**
	 * 商户提交的退款单号
	 */
	private String partner_refund_id;
	
	/**
	 * 退款金额，单位是货币最小单位
	 */
	private int amount;
	
	/**
	 * 币种
	 */
	private String currency;

	
	public String getReturn_code() {
		return return_code;
	}

	
	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	
	public String getResult_code() {
		return result_code;
	}

	
	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}

	
	public String getRefund_id() {
		return refund_id;
	}

	
	public void setRefund_id(String refund_id) {
		this.refund_id = refund_id;
	}

	
	public String getPartner_refund_id() {
		return partner_refund_id;
	}

	
	public void setPartner_refund_id(String partner_refund_id) {
		this.partner_refund_id = partner_refund_id;
	}

	
	public int getAmount() {
		return amount;
	}

	
	public void setAmount(int amount) {
		this.amount = amount;
	}

	
	public String getCurrency() {
		return currency;
	}

	
	public void setCurrency(String currency) {
		this.currency = currency;
	}


	@Override
	public String toString() {
		return "GlobePayRefundResult [return_code=" + return_code
			+ ", result_code="
			+ result_code
			+ ", refund_id="
			+ refund_id
			+ ", partner_refund_id="
			+ partner_refund_id
			+ ", amount="
			+ amount
			+ ", currency="
			+ currency
			+ "]";
	}
	
}
